userAgent

open fun userAgent(userAgent: String): EngineOptions.Builder

Sets the custom user agent string that is used to override the default user agent for the Engine.

Has the same effect as adding the --user-agent switch.

Throws

when userAgent is empty or blank